clear
f=-[6000,9900];
A=[8,6;4,8;4,6];
b=[370,310,210];
[X,fval]=linprog(f,A,b)
